from django.urls import re_path,path
from rest_framework_jwt.views import obtain_jwt_token
from . import views

urlpatterns = [re_path(r'^users/$',views.RegisterView.as_view()),
               re_path(r'^authorizations/$',obtain_jwt_token),
               # re_path(r'^authorizations/$',views.LoginView.as_view()),
               re_path(r'^user/$',views.DetailView.as_view()),
               re_path(r'^user/password/$',views.ModifyPwsView.as_view()),
               path('user/label/',views.LabelsView.as_view()),

]
